import {post,get} from '../../utils/request'
import { IAdmin } from './type'
export const checkLogin=(data:IAdmin)=>{

   return post("/api/auth/login",data)

}
export const getMenus=()=>{

    return get("/api/menu/getListForUser")
 
 }